
#pragma once
#include "Resource.h"
#include "LinkED_GloablDefines.h"
#include "LinkED_TCP.h"
#include "LinkED_UDP.h"

class CMainDlg : public CDialogEx
{
public:
    CMainDlg(CWnd* pParent = NULL);

    enum { IDD = IDD_Main_DIALOG };

    protected:
    virtual void DoDataExchange(CDataExchange* pDX);

protected:
    HICON m_hIcon;

    virtual BOOL OnInitDialog();
    afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
    afx_msg void OnPaint();
    afx_msg HCURSOR OnQueryDragIcon();
    afx_msg LRESULT UIUpdateMsgHandle(WPARAM wPara, LPARAM lpPara);
    afx_msg void OnBnClickedButton1();
    DECLARE_MESSAGE_MAP()
    virtual void OnCancel();

    

public:
    short m_Port;
    CString m_ClientInfo;
    CString m_NotifyInfo;
    CString m_ServerInfo;
    CLinkED_TCP m_TCPZune;
    CLinkED_TCP m_TCPWIFI;
    CLinkED_UDP m_UDPZune;
    CLinkED_UDP m_UDPWIFI;
    afx_msg void OnTimer(UINT_PTR nIDEvent);
};
